MailPoet\Config\Populator A

Total Complexity 71
Dependencies 40
Dependents 3
Total lines 733
Lines of code 613
Logical lines of code 189
Comment lines 34
Methods 26
Properties 11

Methods 26

Method Rating Maintainability Complexity Lines of code
createDefaultSettings()
B
36 21 74
newsletterOptionFields()
A
36 1 135
createMailPoetPage()
S
51 6 27
__construct()
S
37 1 93
populate()
S
52 5 26
createDefaultUsersFlags()
S
56 5 18
removeDuplicates()
S
50 3 30
scheduleTask()
S
56 3 20
createSourceForSubscribers()
S
53 2 25
createDefaultSegment()
S
56 2 19
createOrUpdateUserFlag()
S
58 2 15
newsletterTemplates()
S
59 2 15
scheduleBackfillEngagementData()
S
61 2 14
up()
S
56 1 20
scheduleBeamer()
S
68 2 8
scheduleSubscriberLastEngagementDetection()
S
65 2 9
scheduleAuthorizedSendingEmailsCheck()
S
67 2 9
updateRow()
S
69 1 8
scheduleInitialInactiveSubscribersCheck()
S
72 1 6
insertRow()
S
70 1 7
scheduleUnsubscribeTokens()
S
72 1 6
scheduleSubscriberLinkTokens()
S
72 1 6
scheduleMixpanel()
S
79 1 3
rowExists()
S
63 1 10
detectReferral()
S
82 1 3
scheduleNewsletterTemplateThumbnails()
S
70 1 7